package com.trust.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.trust.entity.DTO.FieldDTO;
import com.trust.entity.Field;
import com.trust.entity.Param.FieldListParam;
import com.trust.entity.VO.FieldListVO;

import java.util.List;

public interface FieldService extends IService<Field> {


    /**
     * 列表
     * @param param
     * @return
     */
    Page<FieldListVO> list(FieldListParam param);


    /**
     * 新增 更新
     * @param param
     */
    Field saveAndUpdate(FieldDTO param);

    /**
     * 操作字段
     * @return
     */
    List<Object> fieldActivityKey();
}
